import { ref, computed } from 'vue'
import { defineStore } from 'pinia'

export const useStateStore = defineStore('state', () => {
  const leftActiveID = ref(null)
  // const doubleCount = computed(() => count.value * 2)
  const changeLeftActiveID = (id) => {
    leftActiveID.value = id
  }

  return { leftActiveID, changeLeftActiveID }
})